const asyncRoutes = [
	{
		path: "/",
		name: "/",
		meta: {
			title: "主控台",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/goods/list",
		name: "/goods/list",
		meta: {
			title: "商品管理",
		},
		component: () => import("../views/GoodsList.vue"),
	},
	{
		path: "/category/list",
		name: "/category/list",
		meta: {
			title: "分类管理",
		},
		component: () => import("../views/CategoryList.vue"),
	},
	{
		path: "/skus/list",
		name: "/skus/list",
		meta: {
			title: "规格管理",
		},
		component: () => import("../views/SkusList.vue"),
	},
	{
		path: "/coupon/list",
		name: "/coupon/list",
		meta: {
			title: "优惠券管理",
		},
		component: () => import("../views/CouponList.vue"),
	},
	{
		path: "/user/list",
		name: "/user/list",
		meta: {
			title: "用户管理",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/level/list",
		name: "/level/list",
		meta: {
			title: "会员等级",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/order/list",
		name: "/order/list",
		meta: {
			title: "订单管理",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/comment/list",
		name: "/comment/list",
		meta: {
			title: "评论管理",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/manager/list",
		name: "/manager/list",
		meta: {
			title: "管理员管理",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/access/list",
		name: "/access/list",
		meta: {
			title: "权限管理",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/role/list",
		name: "/role/list",
		meta: {
			title: "角色管理",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/setting/base",
		name: "/setting/base",
		meta: {
			title: "基础设置",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/setting/buy",
		name: "/setting/buy",
		meta: {
			title: "交易设置",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/setting/ship",
		name: "/setting/ship",
		meta: {
			title: "物流设置",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/distribution/index",
		name: "/distribution/index",
		meta: {
			title: "分销员管理",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/distribution/setting",
		name: "/distribution/setting",
		meta: {
			title: "分销设置",
		},
		component: () => import("../views/Home.vue"),
	},
	{
		path: "/image/list",
		name: "/image/list",
		meta: {
			title: "图库管理",
		},
		component: () => import("../views/PicGovern.vue"),
	},
	{
		path: "/notice/list",
		name: "/notice/list",
		meta: {
			title: "公告管理",
		},
		component: () => import("../views/Home.vue"),
	},
];

export default asyncRoutes;
